]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspace: Always set state at the end of overview transition
authorFlorian Müllner <fmuellner@gnome.org>
Sat, 11 Jul 2020 21:08:42 +0000 (23:08 +0200)
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>
Mon, 13 Jul 2020 17:24:43 +0000 (17:24 +0000)
We don't change to the zoomed out state when fading to the overview,
however we should do that after the transition in case the user
switches to the window picker.

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/2969

js/ui/workspace.js

index 164084a88452aadd17d074f814838e9f089b79b1..d7e179b1d16c6eccebb037625fb146d1bab8a9a2 100644 (file)
@@ -1194,11 +1194,13 @@ class Workspace extends St.Widget {
 
     _doneLeavingOverview() {
         this.layout_manager.layout_frozen = false;
+        this.layout_manager.stateAdjustment.value = 0;
         this._windows.forEach(w => (w.opacity = 255));
     }
 
     _doneShowingOverview() {
         this.layout_manager.layout_frozen = false;
+        this.layout_manager.stateAdjustment.value = 1;
         this._windows.forEach(w => (w.opacity = 255));
     }